package com.online.dal.dao;

import com.online.dal.model.Order;
import com.online.dal.model.OrderDetail;

import java.util.List;

public interface OrderDetailDAO {

    void insert(OrderDetail orderdetail) throws Exception;

    void deleteById(String id) throws Exception;

    Long updateById(OrderDetail id) throws Exception;

    List<OrderDetail> queryByModel(OrderDetail orderdetail) throws Exception;

    Order queryById(String id) throws Exception;



}
